/*-----------------------------------------------------------------------------
The contents of this file are subject to the Mozilla Public License
Version 1.1 (the "License"); you may not use this file except in
compliance with the License.You may obtain a copy of the License at
http://www.mozilla.org/MPL/MPL-1.1.html
	
Software distributed under the License is distributed on an "AS IS"
basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See the
License for the specific language governing rights and limitations
under the License.
	
The Original Code is Fever RS ( ActionScript 3 ) Framework code.
	
The Initial Developer of the Original Code is Romain Ecarnot.
Portions created by Initial Developer are Copyright (C) 2006
the Initial Developer. All Rights Reserved.
	
Contributor(s):
	
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-----------------------------------------------------------------------------*/

package fever.app.context.air 
{
	import fever.app.context.ApplicationDialog;		

	/**
	 * <strong>Adobe AIR</strong> dialog system.
	 * 
	 * TODO Not yet implemented
	 * 
	 * @includeExample AirDialogSample.as -noswf
	 * 
	 * @see fever.app.context.ApplicationDialog
	 * @see fever.app.core.FeverCore
	 * 
	 * @author Romain Ecarnot
	 */
	public class AirDialog implements ApplicationDialog
	{
		//--------------------------------------------------------------------
		// Public API
		//--------------------------------------------------------------------
		
		/**
		 * @private
		 * Constructor.
		 */
		public function AirDialog( )
		{
			
		}
		
		/** 
		 * @inheritDoc
		 */
		public function showFileOpenDialog ( caption : String/*, filter : FileFilterCollection, multipleSelect : Boolean, handler : Delegate */ ) : String
		{
			return "";
		}
		
		/** 
		 * @inheritDoc
		 */
		public function showFileSaveDialog (  caption : String/*, filterList : FileFilterCollection, fileName : String, handler : Delegate*/  ) : String
		{
			return "";
		}
		
		/** 
		 * @inheritDoc
		 */
		public function showBrowseFolderDialog (  caption : String/*, handler : Delegate */ ) : String
		{
			return "";
		}
		
		/** 
		 * @inheritDoc
		 */
		public function confirm( text : String, handler : Object = null ) : void
		{
			
		}

		/** 
		 * @inheritDoc
		 */
		public function alert( text : String, handler : Object = null ) : void
		{
			
		}

		/** 
		 * @inheritDoc
		 */
		public function message( text : String, handler : Object = null ) : void
		{
			alert( text, handler );
		}
	}
}
